#! /usr/bin/python3 python3
# -*- coding: utf-8 -*-

# *************************************************************
#  Projectname @  pysm
#     Filename @  login.py
#       Author @  Steve.ma
#  Create date @  2018/8/31
#  Description @  
# *************************************************************

from .. import admin_blueprint
from Models.AdminController import *

class LoginController(AdminControllerModel) :
    Controller = 'Login'
    def index(self):
        return self.showPage('index')

ControllerLogin = LoginController();

@admin_blueprint.route('/login')
def LoginIndex():
    return ControllerLogin.index()